<template>
	<view class="loadCont">
		<view class="loadCard">
			<view class="iconfont icon-jiazai1"></view>
			<view>正在加载</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"load",
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
	
.loadCont{
	position: fixed;
	top: 0;
	z-index: 999;
	left: 0;
	// background-color:rgba(0, 0, 0, 0.5);
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	.loadCard{
		width: 240rpx;
		height: 240rpx;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		background-color: #585858;
		color: #fff;
		border-radius: 20rpx;
		.icon-jiazai1{
			animation: myfirst 2s infinite;
			font-size: 60rpx	;
			margin-bottom: 30rpx;
		}
		@keyframes myfirst {
			from{
				transform: rotate(0deg);
			}
			/* to表示动画的结束位置，也可以使用100%来表示。 */
			to{
				transform: rotate(360deg)
			}
		}
	}
}
</style>